﻿using Admin.NET.Core;
namespace Admin.NET.Application.Entity;

/// <summary>
/// 组态设计明细表
/// </summary>
[SugarTable("BoardDisplayDesignDetail","组态设计明细表")]
public class BoardDisplayDesignDetail  : EntityBase
{
    /// <summary>
    /// 主表Id
    /// </summary>
    [SugarColumn(ColumnName = "MainID", ColumnDescription = "主表Id")]
    public long? MainID { get; set; }
    
    /// <summary>
    /// 设计编号
    /// </summary>
    [SugarColumn(ColumnName = "DesignNo", ColumnDescription = "设计编号", Length = 32)]
    public string? DesignNo { get; set; }
    
    /// <summary>
    /// 类型
    /// </summary>
    [SugarColumn(ColumnName = "ItemType", ColumnDescription = "类型", Length = 32)]
    public string? ItemType { get; set; }
    
    /// <summary>
    /// Top(距离上)
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "Top", ColumnDescription = "Top(距离上)")]
    public int Top { get; set; }
    
    /// <summary>
    /// Left(距离左)
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "Left", ColumnDescription = "Left(距离左)")]
    public int Left { get; set; }
    
    /// <summary>
    /// 宽度
    /// </summary>
    [SugarColumn(ColumnName = "Width", ColumnDescription = "宽度")]
    public int? Width { get; set; }
    
    /// <summary>
    /// 高度
    /// </summary>
    [SugarColumn(ColumnName = "Height", ColumnDescription = "高度")]
    public int? Height { get; set; }
    
    /// <summary>
    /// EndTop(结束位置上)
    /// </summary>
    [SugarColumn(ColumnName = "EndTop", ColumnDescription = "EndTop(结束位置上)")]
    public int? EndTop { get; set; }
    
    /// <summary>
    /// EndLeft(结束位置左)
    /// </summary>
    [SugarColumn(ColumnName = "EndLeft", ColumnDescription = "EndLeft(结束位置左)")]
    public int? EndLeft { get; set; }
    
    /// <summary>
    /// 方向
    /// </summary>
    [SugarColumn(ColumnName = "Direction", ColumnDescription = "方向")]
    public int? Direction { get; set; }
    
    /// <summary>
    /// 状态
    /// </summary>
    [SugarColumn(ColumnName = "State", ColumnDescription = "状态")]
    public int? State { get; set; }


    /// <summary>
    /// 半径
    /// </summary>
    [SugarColumn(ColumnName = "Radius", ColumnDescription = "半径")]
    public int? Radius { get; set; }

    /// <summary>
    /// 颜色
    /// </summary>
    [SugarColumn(ColumnName = "Color", ColumnDescription = "颜色", Length = 32)]
    public string? Color { get; set; }
    
    /// <summary>
    /// 是否带箭头
    /// </summary>
    [SugarColumn(ColumnName = "Arrow", ColumnDescription = "是否带箭头")]
    public bool? Arrow { get; set; }

    /// <summary>
    /// 是否带箭头
    /// </summary>
    [SugarColumn(ColumnName = "Sid", ColumnDescription = "盲板编号")]
    public long? Sid { get; set; }

}
